package com.dfrz.problem.utils;

public class Result<T> {

	private String code;
	
	private T result ;
	
	public Result(){
		
	}
	public Result(String code){
		this.code = code;
	}
	
	public Result(String code,T result){
		this.code = code;
		this.result = result;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	public T getResult() {
		return result;
	}
	public void setResult(T result) {
		this.result = result;
	}
	
}